﻿@model BS_CAR_SEND
@{
    ViewBag.Title = "派车单打印";
    DateTime check_date = Model.check_date??DateTime.Now;
}

<div  style="width:17cm;" >
        <div style="height:31px; margin-top:20px;text-align:center">
            <h1>@ViewBag.DeptName<span>派车单</span></h1>
        </div>
        <div class="content" style="width:17cm">
            <table id="t" style="BORDER:black 1px solid;BORDER-COLLAPSE:collapse;width:630px" 
            borderColor=black   cellSpacing=0   cellPadding=1   rules=all  border=1>
                <tr style="background-color:White" >
                    <td class="tdleft2" style="height: 24px" >
                        所属单位：</td>
                    <td class="tdright2" style="height: 24px;width:33%">
                    @ViewBag.DeptName
                    </td>
                    <td class="tdleft2" style="height: 24px" >
                        用车部门：</td>
                    <td class="tdright2" style="height: 24px;width:16%">
                    @ViewBag.ChildDeptName
                     </td>
                        
                    <td class="tdleft2" style="height: 24px" >
                                                用车监护人：</td>
                    <td class="tdright2" style="height: 24px;width:15%">
                    @Model.jhr
                       </td>
                    
                </tr>
                
                <tr style="background-color:White">
                    <td class="tdleft2" style="height: 24px" >
                        车牌号：</td>
                    <td class="tdright2" style="height: 24px; width: 33%;">
                    @ViewBag.RecordNo
                    </td>
                    <td class="tdleft2" style="height: 24px" >
                        申请人：</td>
                    <td class="tdright2" style="height: 24px; width: 16%;">
                    @Model.sqr
                    </td>
                    <td class="tdleft2" style="height: 24px" >
                                                用车人数：</td>
                    <td class="tdright2" style="height: 24px">
                    @Model.use_nums
                    </td>
                </tr>
                <tr style="background-color:White">
                    
                    <td class="tdleft2" style="height: 24px" >
                        驾驶员：</td>
                    <td class="tdright2" style="height: 24px; width: 33%;">
                    @Model.driver_name
                    </td>
                    <td class="tdleft2" style="height: 24px" >
                        批准人：</td>
                    <td class="tdright2" style="height: 24px; width: 16%;">
                    @Model.CHECK_MAN
                    </td>
                    <td class="tdleft2" style="height: 24px" >
                        出车时间：</td>
                    <td class="tdright2" style="height: 24px">
                    @Model.START_DATE.Value.ToString("yyyy-MM-dd")
                       </td>
                </tr>
                <tr style="background-color:White">
                    
                    <td class="tdleft2" style="height: 24px" >
                        用工类别：</td>
                    <td class="tdright2" style="height: 24px; width: 33%;">
                    @Model.job_kind
                    </td>
                    <td class="tdleft2" style="height: 24px" >
                        派车人：</td>
                    <td class="tdright2" style="height: 24px; width: 16%;">
                    @Model.send_man
                    </td>
                    <td class="tdleft2" style="height: 24px" >
                        返回时间：</td>
                    <td class="tdright2" style="height: 24px">
                    @Model.END_DATE.Value.ToString("yyyy-MM-dd")
                       </td>
                </tr>
                
                <tr style="background-color:White">
                    <td class="tdleft2" style="height: 24px" >
                        运输物资：</td>
                    <td class="tdright2" colspan="3" style="height: 24px" >
                    @Model.material
                       </td>
                    <td class="tdleft2" style="height: 24px" >
                        数量(T)：</td>
                    <td class="tdright2" style="height: 24px">
                    @Model.material_nums
                       </td>
                       
                </tr>
                
                <tr style="background-color:White">
                    <td class="tdleft2" style="height: 55px" >
                        往返地点：</td>
                    <td   class="tdright2" colspan="5" style="vertical-align:top;height: 55px;width:auto"   >
                    @Model.PLACE
                       </td>
                </tr>
                <tr style="background-color:White">
                    <td class="tdleft2" style="height: 54px;width:auto"   >
                                                用车事由：</td>
                    <td colspan="5" class="style1" 
                        style="vertical-align:top;height: 54px;width:auto; text-align: left;" >
                    @Model.REASON
                        </td>
                   
                </tr>
                <tr style="background-color:White">
                    <td class="tdleft2" style="height: 58px">安全交底：</td>
                    <td colspan="5" class="style4" style="vertical-align:top;height: 54px;width:auto; text-align: left;" >
                        @Model.sec_cause
                        </td>
                   
                </tr>
                
                 <tr style="background-color:White">
                    <td class="tdleft2" style="height: 59px"   >
                        领导签字：</td>
                    <td colspan="5" class="style3">
                    
                        </td>
                 </tr>
                    
                <tr style="background-color:White">
                    <td class="tdleft2" style="height: 59px"   >
                        备注：</td>
                    <td colspan="5" class="style3">
                    @Model.REMARK
                        </td>
                 </tr>
               
            </table>
            <br />
            <div class="footer" style="width:623px">申请时间：@Model.sqdate.Value.ToString("yyyy-MM-dd")
                
                @check_date.ToString("yyyy-MM-dd")
                
                <input id="Button1" type="button"  value="打印" onclick="javascript:window.print();" /></div>
        </div>
    </div>
